var synchronizer = null;

function Synchronizer(request, season, processingUrl){
	this.request = request;
	this.season = season;
	this.processingUrl = processingUrl;
	this.synchronizer = this;
	synchronizer = this;
}

Synchronizer.prototype = {
	
	validate : function(response){
	},
	send : function(e){
		
		//request bauen
		var request = "request=" + synchronizer.request;
		var saison = "saison=" + synchronizer.season;
		var request = '?' + request + '&' + saison;
		httpRequest.abort();  

		httpRequest.onreadystatechange = function() {
			if ( httpRequest.readyState == 4 ) {
				// nothing
				response = httpRequest.response;
			}
		};

	    httpRequest.open('GET', synchronizer.processingUrl + request, true);
	    httpRequest.send(null);
	}
}